.px2rem(@name, @px) {
    @{name}: @px / 75 * 1rem;
}
.txh{
	display: flex;
}
html,doby{
	width: 100%;
	height: 100%;
    background: #f7f7f7;
}
#box{
	header{
		.px2rem(height,84);
		.px2rem(line-height,84);
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background: #fff;
		ul{
            .txh;
            justify-content:space-between;
            a{
			li{
              .px2rem(margin-left,30);
		      .px2rem(margin-right,30);
		      .px2rem(font-size,30);
			}
		}
		}

	}
	section{
		.px2rem(margin-top,84);
		.px2rem(margin-bottom,84);
		.swiper-container{
			.px2rem(height,360);
			overflow: hidden;
			.swiper-wrapper{
				.swiper-slide img{
                          .px2rem(height,360);
                          width: 100%;
				}
			}
		}
		.nav{
			.px2rem(height,80);
			.px2rem(line-height,80);
			.px2rem(margin-top,10);
			background: #ccc;

			p{
                .px2rem(font-size,30);
                .px2rem(margin-left,30);
			}
		}
		.menu{
			ul{
				.txh;
				flex-wrap:wrap;
            
				li{
					width: 40%;
					.px2rem(height,130);
					.px2rem(border-radius,16);
					color: #fff;
					margin-left: 7%;
					.px2rem(margin-top,20);
				}
				li:nth-child(1){
					background: #ff99ff;
					a{

					dl{
						.txh;
						dt img{
                          .px2rem(padding-top,20);
                          .px2rem(margin-left,20);

						}
						dd{
							.px2rem(padding-left,20);
							.px2rem(padding-top,10);
							p:nth-child(1){
								.px2rem(font-size,36);
							}
							p{
								color: #fff;
								.px2rem(line-height,30);
							}
						}

					}
				}

				}

				li:nth-child(2){
					background: #e8afa4;
					a{
					dl{
						.px2rem(padding-top,20);
						.px2rem(padding-left,20);
						dd{
							p:nth-child(1){
								.px2rem(font-size,36);
							}
							p{
								.px2rem(line-height,30);

							}
						}
					}
				}
				}
				li:nth-child(3){
					background: #ffcb99;
					a{
					dl{
						.txh;
						dt img{
                          .px2rem(padding-top,40);
                          .px2rem(margin-left,20);

						}
						dd{
							.px2rem(padding-left,20);
							.px2rem(padding-top,20);
							p:nth-child(1){
								.px2rem(font-size,36);
							}
							p{
								color: #fff;
								.px2rem(line-height,30);
							}
						}

					}
				}
				}
				li:nth-child(4){
					background: #61d2e2;
					a{
					dl{
						.txh;
						dt img{
                          .px2rem(padding-top,40);
                          .px2rem(margin-left,20);

						}
						dd{
							.px2rem(padding-left,20);
							.px2rem(padding-top,20);
							p:nth-child(1){
								.px2rem(font-size,40);
							}
							p{
								color: #fff;
								.px2rem(line-height,50);
							}
						}

					}
				}
				}
				li:nth-child(5){
					background: #c1e18e;
					a{
					p{
                          .px2rem(padding-left,90);
							.px2rem(padding-top,30); 
					}
				}
				}
				li:nth-child(6){
					background: #eed570;
					a{
					dl{
						dd{
							.px2rem(line-height,30);
							.px2rem(padding-top,20);
							.px2rem(padding-left,20);
							p:nth-child(1){
							  .px2rem(font-size,40);	
							}
							p:nth-child(2){
							  .px2rem(font-size,18);	
							}

						}
					}
				}
				}
			}
		}
	}
	footer{
		.px2rem(height,95);
		position: fixed;
		bottom:0;
		left:0;
		width: 100%;
		background: #fff;
		border-top: 1px solid #eee;
		ul{
			.txh;
			margin-top: 2%;
			a{
				flex:1;
				li{
				text-align: center;
               }
			}
			
               li:nth-child(3){
               	 margin-top:-100px;
               	 img{
               	 	width: 140%;
               	 }
               }
		}
	}
}